Citect INI Parameters
There are a number of Citect INI parameters that you may use to configure driver parameters. These settings may be configured at the protocol level, cluster level, port level, or device level. More specific settings will override a general one. The order of precedence is:
Protocol Name > Cluster Name > Port Name > I/O Device Name
The level at which you want the INI settings to be in effect determines the name you define. For example:
To set the default timeout for all devices using the Micrologic protocol, use:
[MICROLOGIC]
Timeout = 2000
To override this default for cluster ‘Cluster_1,’ use:
[MICROLOGIC.Cluster_1]
Timeout = 1000
To override the default value for port ‘Port_1’ on cluster ‘Cluster_1,’ use:
[MICROLOGIC.Cluster_1.Port_1]
Timeout = 3000
To override the default value for I/O device ‘CircuitBreaker_1’ on port ‘Port_1’ on cluster ‘Cluster_1,’ use:
[MICROLOGIC.Cluster_1.Port_1.CircuitBreaker_1]
Timeout = 4000
Most settings can be configured to be specific to a particular I/O device. Exceptions are noted in the description for the individual parameter.
Parameters Database
All INI parameters described in the following sections can be set in the Parameters database. Limit the number of Parameters database entries to 200; exceeding this number can negatively affect performance. To limit the number of entries in the Parameters database, you can either set your parameters in the Citect INI exclusively, or only add to the Parameters database when deviating from the parameters at the driver level. For example, set Timeout = 5000 at the driver level, rather than setting it for each device.
Using special syntax, you can access the parameters in the Project Editor (System < Parameters):
- The section name generally corresponds to the INI section name, although it includes the protocol name, cluster name, and primary device name only.
- The name is the INI value name.
If the parameter is set in the Parameters database, it becomes a new default for either protocol, cluster, or a concrete device (depending on the section name hierarchy).
Examples:
Section Name: [MICROLOGIC.Cluster_1.Breaker_1]
Name: Timeout
Value: 2000
This defines a new default timeout value for a redundant pair of MicroLogic devices (primary device is named Breaker_1 in Cluster_1).
Section Name: [PWRMODBUS.Cluster1]
Name: UseWriteMultiRegistersOnly
Value: 0
This sets UseWriteMultiRegistersOnly to 0 for all PWRMODBUS devices in Cluster 1.
The INI file is read after the parameter database is processed; thus the override options are set in the Parameters database.
In this section, you will find parameters organized into these categories:
General Power Operation parameters
Sepam event reading parameters